Repository navigation
Implement formatting of GML responses - #225
Open
julianzz98 wants to merge 2 commits into
Open
julianzz98 wants to merge 2 commits into
julianzz98 wants to merge 2 commits into
Conversation
Contributor
Author
|
In the TMC meeting on the 28.10.2026, the change proposed in this PR was considered a "breaking change", since it cannot be ruled out that other users may depend on this behavior. The new commit 5171720 makes GML response formatting optional through the tunable The default is The setting is documented, and tests cover the default behavior as well as explicitly enabling and disabling formatting. The tunable was also tested successfully on a local setup.
|
julianzz98
force-pushed
the
fix/gmlResponseFormatting-1857
branch
from
November 5, 2026 13:48
5171720 to
7795390
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, GML responses were written on a single line, making the output difficult to read and potentially causing problems for software with line-length limits.
This PR uses the existing
IndentingXMLStreamWriterto add line breaks and indentation for both single-item and collection responses. Individual text values, such as long coordinate lists, may still produce long lines.The change was tested successfully locally.